module.exports = {
  //MONGO_URL: 'mongodb://cmdb:Abc,123.@10.1.5.247:27017/cmdb',
  MONGO_URL: 'mongodb://127.0.0.1:27017/cmdb',
  //REDIS_HOST: '10.1.5.247',
  REDIS_HOST: '127.0.0.1',
  REDIS_PORT: 6379,
  REDIS_PSD: 'Abc,123.',
  REDIS_DB: 0,

  KAFKA: {
    ENABLED: false,
    CONFIG: {
      kafkaHost: '10.3.51.90:9092',
      connectTimeout: 10000,
      requestTimeout: 30000,
      idleConnection: 5 * 60 * 1000,
      reconnectOnIdle: true,
      autoConnect: true,
      versions: {
        disabled: false,
        requestTimeout: 500
      },
      connectRetryOptions: {
        retries: 5,
        factor: 2,
        minTimeout: 1 * 1000,
        maxTimeout: 60 * 1000,
        randomize: true
      },
      maxAsyncRequests: 10,
      noAckBatchOptions: null
    },
    ASSET_CHANGE_TOPIC: 'asset-change-topic',
    LOG_TOPIC: 'log-topic'
  },
  GATEWAY: {
    BASE_URL: 'http://localhost:8600/',
  },
  AUTH: {
    EXCLUDES: [/health/],
    BASE_URL: 'http://localhost:8600/',
    URL_GET_VISITOR_INFO: 'auth/api/w/auth/users/me'
  },
  TMP_PATH: ''
}
